package com.softeem.springcloud;

import com.softeem.myrule.RibbonConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @program: springcloud
 * @author: zcp_will
 * @create: 2020-09-17 10:25
 * @description
 **/

@SpringBootApplication
@EnableEurekaClient
//指定自定义的的Ribbon配置
@RibbonClient(name = "SPRINGCLOUD-PROVIDER-DEPT",configuration = RibbonConfig.class)
public class DeptConsumer_80 {
    public static void main(String[] args) {
        SpringApplication.run(DeptConsumer_80.class,args);
    }
}
